package accs.model.mail;

import javax.mail.Folder;
import javax.mail.Store;

public class DefaultMailBoxListener implements MailBoxListener {
	public void mailboxOpen(Store store) throws Exception {
		Folder folder=store.getFolder("INBOX");
		folder.open(Folder.READ_ONLY);
		folder.close(false);
	}
}